package pojo;


import java.time.LocalDate;
import java.util.Date;

public class SupplierContact {
	
	private long id;
	private String cname;
	private long age;
	private String mobile;
	private long pid;
	private String createdate;
	private String sname;
	
	
	public SupplierContact() {
	}
	
	public SupplierContact(long id, String cname, long age, String mobile, long pid, String createdate, String sname) {
		this.id = id;
		this.cname = cname;
		this.age = age;
		this.mobile = mobile;
		this.pid = pid;
		this.createdate = createdate;
		this.sname = sname;
	}
	
	/**
	 * 获取
	 *
	 * @return id
	 */
	public long getId() {
		return id;
	}
	
	/**
	 * 设置
	 *
	 * @param id
	 */
	public void setId(long id) {
		this.id = id;
	}
	
	/**
	 * 获取
	 *
	 * @return cname
	 */
	public String getCname() {
		return cname;
	}
	
	/**
	 * 设置
	 *
	 * @param cname
	 */
	public void setCname(String cname) {
		this.cname = cname;
	}
	
	/**
	 * 获取
	 *
	 * @return age
	 */
	public long getAge() {
		return age;
	}
	
	/**
	 * 设置
	 *
	 * @param age
	 */
	public void setAge(long age) {
		this.age = age;
	}
	
	/**
	 * 获取
	 *
	 * @return mobile
	 */
	public String getMobile() {
		return mobile;
	}
	
	/**
	 * 设置
	 *
	 * @param mobile
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	
	/**
	 * 获取
	 *
	 * @return pid
	 */
	public long getPid() {
		return pid;
	}
	
	/**
	 * 设置
	 *
	 * @param pid
	 */
	public void setPid(long pid) {
		this.pid = pid;
	}
	
	/**
	 * 获取
	 *
	 * @return createdate
	 */
	public String getCreatedate() {
		return createdate;
	}
	
	/**
	 * 设置
	 *
	 * @param createdate
	 */
	public void setCreatedate(String createdate) {
		this.createdate = createdate;
	}
	
	/**
	 * 获取
	 *
	 * @return sname
	 */
	public String getSname() {
		return sname;
	}
	
	/**
	 * 设置
	 *
	 * @param sname
	 */
	public void setSname(String sname) {
		this.sname = sname;
	}
	
	public String toString() {
		return "SupplierContact{id = " + id + ", cname = " + cname + ", age = " + age + ", mobile = " + mobile + ", pid = " + pid + ", createdate = " + createdate + ", sname = " + sname + "}";
	}
}
